home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir28 / radcom.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-01-02  |  3KB  |  117 lines

  1. ECHO OFF
  2. CLS
  3. IF %1x==x GOTO NODRIVE
  4. IF %2x==x GOTO NODRIVE
  5. IF %1x==%2x GOTO NODRIVE
  6. GOTO YESDRIVE
  7.  
  8. :NODRIVE
  9. ECHO.
  10. ECHO      This routine is for installing `Personal RADCOM' on a
  11. ECHO      HARD disk.  If you DO NOT have one, then you will not be
  12. ECHO      able to use this software.  Sorry, but the floppy drive
  13. ECHO      installation version is no longer being distributed.
  14. ECHO      After being installed on your hard drive, however, the
  15. ECHO      program can be copied to and operated from a 3.5" disk.
  16. ECHO.
  17. ECHO      The `Personal RADCOM' installation routine requires that
  18. ECHO      you specify two drives.  You must specify the drive you are
  19. ECHO      at now and the hard drive where you want it installed.
  20. ECHO      It must be either the C or D hard drive.
  21. ECHO .
  22. ECHO      For example, INSTALL A: C:  . . . Please try again.
  23. GOTO END
  24.  
  25. :YESDRIVE
  26. ECHO .
  27. ECHO .
  28. ECHO      This routine is for installing `Personal RADCOM' on a C or D
  29. ECHO      hard disk.  If you do not want to do this at this time,
  30. ECHO      then press the "Ctrl" + "Break" keys together and then "Y"
  31. ECHO      to stop this batch file.  Sorry, but the floppy drive
  32. ECHO      installation version is no longer being distributed.
  33. ECHO      After being installed on your hard drive, however, the
  34. ECHO      program can be copied to and operated from a 3.5" disk.
  35. ECHO .
  36. ECHO Otherwise . . .
  37. ECHO .
  38. PAUSE
  39. CLS
  40. GOTO TRY1
  41.  
  42. :TRY1
  43. ECHO OFF
  44. CLS
  45. IF EXIST %1PRC1.EXE GOTO COPY1
  46. ECHO.
  47. ECHO.
  48. ECHO      The disk in Drive %1 is NOT the RADCOM disk.  Insert proper disk and ...
  49. ECHO.
  50. ECHO.
  51. PAUSE
  52. GOTO TRY1
  53.  
  54. :COPY1
  55. CD C:\
  56. IF %2==C: GOTO CBAT
  57. IF %2==c: GOTO CBAT
  58. GOTO DBAT
  59.  
  60. :CBAT
  61. COPY %1PRCC.TXT C:\PRC.BAT
  62. GOTO UPNEXT
  63.  
  64. :DBAT
  65. COPY %1PRCD.TXT C:\PRC.BAT
  66. GOTO UPNEXT
  67.  
  68. :UPNEXT
  69. %2
  70. MD %2\RADCOM
  71. CD %2\RADCOM
  72. CLS
  73. ECHO OFF
  74. ECHO .
  75. ECHO    Note:  Although `Personal RADCOM' is being loaded into a
  76. ECHO           subdirectory called RADCOM, you will be able to start
  77. ECHO           the program without changing directories simply by
  78. ECHO           typing PRC and pressing the Enter key.
  79. ECHO .
  80. PAUSE
  81. CLS
  82. ECHO .
  83. ECHO.
  84. ECHO    Please wait while loading the program files . . .
  85. ECHO.
  86. ECHO.
  87.  
  88. COPY %1*.* %2
  89.  
  90. ECHO.
  91. PRC1
  92. ECHO.
  93. PRC2
  94. ECHO.
  95. ECHO.
  96. CD\
  97. C:
  98. CD\
  99. CLS
  100. ECHO.
  101. ECHO.
  102. ECHO.
  103. ECHO.
  104. ECHO.
  105. ECHO.
  106. ECHO      That is it!!!  You're finished.  Now place your ORIGINAL
  107. ECHO      `Personal RADCOM' disk away and use your hard drive copy
  108. ECHO      to calculate downwind radiation exposures from accidental
  109. ECHO      releases from nuclear power plants.
  110. ECHO .
  111. ECHO      Refer to the operating instructions for more details on
  112. ECHO      how to use `Personal RADCOM'.
  113. ECHO.
  114. ECHO.
  115. GOTO END
  116. :END
  117.